package com.yuju.hotel.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yuju.common.core.dao.IBaseDao;
import com.yuju.common.core.service.AbstractBaseService;
import com.yuju.hotel.dao.IHotelParamDao;
import com.yuju.hotel.dao.entity.HotelParam;
import com.yuju.hotel.dao.entity.HotelParamKey;
import com.yuju.hotel.model.HotelParamModel;
import com.yuju.hotel.service.IHotelParamService;

/**
 * 
 * 类名：HotelParamServiceImpl  <br />
 *
 * 功能：酒店参数
 *
 * @author : xuehj <br />
 * @Date : 2018年1月30日 下午5:51:07  <br />
 * @version : 1.1 <br />
 */
@Service
public class HotelParamServiceImpl extends AbstractBaseService<HotelParamModel, HotelParam, HotelParamKey> implements IHotelParamService {
	@Autowired
	private IHotelParamDao hotelParamDao;
	
	@Override
	public IBaseDao<HotelParamModel, HotelParam, HotelParamKey> getDao() {
		return hotelParamDao;
	}

	@Override
	public void initHotelParam(String groupId, String hotelId) {
		hotelParamDao.initHotelParam(groupId, hotelId);
	}

}
